<div>
    <div class="sui-form sui-form"> 
        <wx-gzh-list wxappid="wxappid" gzhid="gzhid" backcall="pageData(app_id)"></wx-gzh-list>
    </div>

    <table class="sui-table table-bordered">
        <tr>
            <th></th>
            <th>{{'卡券类型'|translate}}</th>
            <th>{{'卡券标题'|translate}}</th>
            <th>{{'有效期'|translate}}</th>
            <th>{{'状态'|translate}}</th>
            <th>{{'剩余数量'|translate}}</th>
            <th>{{'总数'|translate}}</th>
        </tr>
        <tr ng-repeat="list in card_list">
            <td>
                <input type="radio" name="radio1" ng-click="isChecked(list.card_id)">
            </td>
            <td>{{list.card_type_name}}</td>
            <td>{{list.title}}</td>
            <td> 
                <span ng-show="list.fixed_term">
                    领取后{{list.fixed_begin_term != 0?list.fixed_begin_term:"当"}}天生效，{{list.fixed_term}}天有效    
                </span>
                <span ng-show="list.begin_timestamp">
                    {{list.begin_timestamp}} 至 {{list.end_timestamp}}                
                </span>
            </td>

            <td>
                {{list.status_name}}
            </td>
            <td>
                {{list.quantity}}
            </td>
            <td>
                {{list.total_quantity}}
            </td>
        </tr>
    </table>
    
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="pageData(authorizer,pageNo)"></pager>
</div>
